package wangm.controller;

import com.alibaba.fastjson.JSONObject;
import com.xdja.interceptor.bean.ResultBean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletResponse;

/**
 * description
 *
 * @author zk
 * @since 2018/7/7
 */
@Controller
public class IndexController {

    @RequestMapping(value = "/index",method = RequestMethod.GET)
    public ResultBean aopTest(HttpServletResponse response){
        JSONObject imgObject = new JSONObject();
        imgObject.put("title","开封市公安局，开封市公安局，开封市公安局，开封市公安局");
        return ResultBean.successResult("");
    }
}
